# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=moe
pkgver=1.13
pkgrel=0
pkgdesc="powerful and user-friendly text editor"
url="https://www.gnu.org/software/moe/moe.html"
arch="all"
license="GPL-2.0-or-later"
makedepends="ncurses-dev texinfo"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/moe/moe-$pkgver.tar.lz"
options="!check"

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc
	make CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS"
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
3fb13398de56cf71025cdd132ca64a18a0adcbd1222cb3c611ff134adad2787de2e3a8993b381da1526015bfbba03be49d8f07f8e314f0cb19cedabb5b843228  moe-1.13.tar.lz
"
